package com.wynet.shopsapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@TableName("t_likes")
@NoArgsConstructor
public class Likes {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer u_id;
    private Integer g_id;
    private Date l_ctime;

    public Likes(Integer u_id, Integer g_id) {
        this.u_id = u_id;
        this.g_id = g_id;
    }
}
